import axios from '@/libs/api.request'
// 品牌列表
export const getBrandList = (data) => {
  return axios.request({
    url: '/merchant/brand/list',
    method: 'post',
    data: data
  })
}

// 获取标签列表
export const getTagList = (data) => {
  return axios.request({
    url: '/merchant/tag/list',
    method: 'post',
    data: data
  })
}

// 新增标签
export const saveTag = (data) => {
  return axios.request({
    url: '/merchant/tag/save',
    method: 'post',
    data: data
  })
}

// 删除标签
export const delTag = (data) => {
  return axios.request({
    url: '/merchant/tag/delete',
    method: 'post',
    data: data
  })
}
